Breaking Changes

On this page:

Task Worker

BREAKING CHANGE for 2020.2 -> 2021.1

The following are breaking changes for the 2021.1 release.

API Removal Due to Scheduled Deprecations

The table below shows a list of APIs that have been removed from Task Worker. Our policy is to provide a deprecation notice two (2) release cycles in advance (at a minimum) before the API is removed. This list represents all deprecations announced in the 2020.1 release.

Additionally, app-task_worker is no longer included in the 2021.1 release. Functionality that previously existed in Task Worker now exists in Workflow Engine.

What should I do?

Review any custom apps and adapters that might reference any APIs on the list and change them to the replacement call (or remove them if no replacement call is provided).

Remove TaskWorker methods from any custom roles and change them to the replacement call (or remove them if no replacement call is provided).

Removed APIs

Item Description Deprecation Release Actual Removal Release Replacement
isActive Checks if task worker is active. 2020.1 2021.1 workflow_engine/active
activate Activates task worker. 2020.1 2021.1 workflow_engine/activate
deactivate Deactivates task worker. 2020.1 2021.1 workflow_engine/deactivate